package org.bunny.vehicle.repository;

import org.bunny.vehicle.entity.Vehicle;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * 车辆仓库
 * 
 * @author Bunny
 * @version 2013-5-16 下午5:17:21
 * 
 */
public interface VehicleRepository extends BaseRepository<Vehicle> {

	public Page<Vehicle> findByClassification(byte classification, Pageable pageable);

	public Vehicle findByLicensePlate(String licensePlate);

}
